package be.kuleuven.cs.mop.domain.exceptions;

/**
 * Business Rule 3 exception
 * Thrown when one attempts to change the state of a task which starttime is after the current system time to something else than Failed/Unavailable
 */
public class BusinessRuleThreeViolationExceptionTaskScheduleDoesNotCoverCurrentTime extends	BusinessRuleViolationException {
	private static final long serialVersionUID = 1L;
	
	public static final String DEFAULT_MESSAGE = "When the current system time is not covered by the schedule of a task, the task can only be Failed or Unavailable";
	

	public BusinessRuleThreeViolationExceptionTaskScheduleDoesNotCoverCurrentTime() {
		super(DEFAULT_MESSAGE);
	}

}
